<extend file='resource/admin/base'/>
<block name="content">
    <ul class="nav nav-tabs" role="tablist">
        <li class="active"><a href="{{u(post)}}" >系统配置</a></li>
    
    </ul>
    <form action="" method="post" role="form" class="form-horizontal" >
        <div class="panel panel-default">
            <!-- Default panel contents -->
            <div class="panel-heading">
                <h3 class="panel-title">站点设置</h3>
            </div>
            <div class="panel-body">
                
                <div class="form-group">
                    <label for="" class="col-sm-2 control-label">网站名称</label>
                    <div class="col-sm-10">
                        <input type="text" required name="webname" value="{{$field['webname']}}" class="form-control" >
                    </div>
                </div>
                <div class="form-group">
                    <label for="" class="col-sm-2 control-label">网站描述</label>
                    <div class="col-sm-10">
                        <input type="text" required name="description" value="{{$field['description']}}" class="form-control" >
                    </div>
                </div>
                <div class="form-group">
                    <label for="" class="col-sm-2 control-label">站长邮箱</label>
                    <div class="col-sm-10">
                        <input type="text" required name="email" value="{{$field['email']}}" class="form-control" >
                    </div>
                </div>
                <div class="form-group">
                    <label for="" class="col-sm-2 control-label">客服电话</label>
                    <div class="col-sm-10">
                        <input type="text" required name="tel" value="{{$field['tel']}}" class="form-control" >
                    </div>
                </div>
                <div class="form-group">
                    <label for="" class="col-sm-2 control-label">备案号</label>
                    <div class="col-sm-10">
                        <input type="text" required name="icp" value="{{$field['icp']}}" class="form-control" >
                    </div>
                </div>
          
            </div>
        </div>
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">文章数量配置</h3>
            </div>
            <div class="panel-body">
                <div class="form-group">
                    <label for="" class="col-sm-2 control-label">显示数量</label>
                    <div class="col-sm-10">
                        <input type="text" required name="article_num" value="{{$field['article_num']}}" class="form-control" >
                    </div>
                </div>
            </div>
        </div>
        <button type="submit" class="btn btn-primary">Submit</button>
    </form>
    
   
</block>